package adke.models;

import adke.managers.DropManager;
import java.util.Timer;

// uitleg hier

public abstract class DropPolicy
{
    private int dropPolicy;
    
    public DropPolicy(int policy)
    {
        dropPolicy = policy;
    }
    
    public int getID()
    {
        return dropPolicy;
    }
    
    public boolean equals(Object policy)
    {
        try
        {
            DropPolicy dp = (DropPolicy)policy;
            return dp.getID() == dropPolicy;
        }
        catch (ClassCastException x)
        {
            return false;
        }
    }
    
    // doet alleen echt wat als hij zelfstandig kan werken
    public abstract void startPolicy();
    public abstract void stopPolicy();
}
